package com.github.shiqyue.timedelay;

import java.util.Collection;

/***
 * 由wwy创建于2018/5/30
 */
public class OrderConsumer implements TimeDelayConsumer {


    @Override
    public boolean support(String type) {
        return true;
    }

    @Override
    public void consume(String id, String type) {
        System.out.println(Thread.currentThread().getName() + ":消费了订单:" + id);
    }
}
